﻿using System.ComponentModel.DataAnnotations;
using System;
namespace XSTDZ.ERP.Application.DataContracts
{
    /// <summary>
    /// 销售退货单明细
    /// </summary>
    [Serializable]
    public class ProductReturnBillDetailDto
    {
        public Guid ID { get; set; } //销售退货明细ID

        public System.Guid ProductReturnBillID { get; set; }//销售退货ID
        [Display(Name = "库存")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public System.Guid StockID { get; set; }
        [Display(Name = "退货数量")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public float ReturnAmount { get; set; }
        [Display(Name = "退货单价")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public decimal ReturnPrice { get; set; }

        [Display(Name = "备注：")]
        public string Remarks { get; set; }

        [Display(Name = "删除状态")]
        public int Deleted { get; set; }

        [Display(Name = "实得数量")]
        public float GetCount { get; set; }

        public string ProductName { get; set; }
        public string DeleteState { get; set; }//删除状态
   }
}
